package com.enation.app.shop.front.api.apphtml;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Scope("prototype")
@Controller
@RequestMapping("/app/good")
public class GoodsDetilController {


    @RequestMapping(value="/detail")
    public ModelAndView list(Model model){
        ModelAndView view = new ModelAndView();

        view.setViewName("/core/admin/apphtml/detail");
        ///themes/kaben/insyance
        model.addAttribute("a","1");
        model.addAttribute("b","2");
        return view;
    }
}
